home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_05 / plauger / except.c < prev    next >
C/C++ Source or Header  |  1994-03-08  |  282b  |  14 lines

  1.  
  2. ------------ Listing 4: The function ios::exceptions(iostate) -------------
  3.  
  4. // iosexceptions -- ios::exceptions(iostate)
  5. #include <ios>
  6.  
  7. void ios::exceptions(iostate ne)
  8.     {    // set selected exception bits
  9.     _Except = ne & _Statmask;
  10.     clear(_State);
  11.     }
  12.  
  13.  
  14.